const mongoose = require('mongoose')
mongoose.connect('mongodb://car:YzzFi3si8kDSC2WJ@60.205.152.14:27017/car')
const conn = mongoose.connection
conn.on('open', () => {
    console.log('数据库连接成功.....');
})
conn.on('error', () => {
    console.log(error);
})
module.exports = mongoose
